-
Notifications
You must be signed in to change notification settings - Fork 12
Standardize mpi-serial MPI function prototypes with MPICH #37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The mpi-serial library supports most common MPI calls, but some function prototypes differ from their MPICH counterparts. This update ensures consistency by aligning function declarations with those in MPICH 4.3.0 (see src/include/mpi_proto.h).
|
References: Tests: |
jedwards4b
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for this contribution.
jayeshkrishna
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you also include a summary of the changes in the PR (const correctness, arrays vs pointers etc)?
|
@dqwu : Either update the PR desc (PR commit message) or the change commit message to list out the changes in the PR (you can add the list to the current PR desc for ex). Also make the req buf type change in a separate commit |
Updated buf to void* in struct Req for better generality in handling user buffers. Added an explicit cast in MPI_Isend() to suppress the warning about discarded const qualifiers.
OK, I have updated the PR description. |
|
@jedwards4b, is this PR good to go? Thanks! |
This PR introduces several updates to the mpi-serial library to
improve consistency and maintainability.
Changes:
adjustments to const correctness and the use of arrays
vs. pointers.
in declarations.
updated MPI function signatures.
generality in handling user buffers.